package general;

// Implements a database interface with all the product categories 
public class CategoryDatabase {
	
	public static final int NR_CATEGORIES = 1000;
	
	// Sports
	public static final int SPORTS_BALL = 1;
	
	// Clothes
	public static final int CLOTHES_PANTS = 301;
	public static final int CLOTHES_SHIRTS = 302;
	
	// Electro
	public static final int ELECTRO_DVD = 600;
	public static final int ELECTRO_CD = 601;
	public static final int ELECTRO_GAMES_PC = 602;
	public static final int ELECTRO_GAMES_PS3 = 603;
	
	// Entertainment
	public static final int ENTERTAINMENT_BOOKS = 701;
	
	public static String getName(int categoryId) {
		switch(categoryId) {
			case SPORTS_BALL:
				return "Sports - Ball";
			case CLOTHES_PANTS:
				return "Clothes - Pants";
			case CLOTHES_SHIRTS:
				return "Clothes - Shirts";
			case ELECTRO_DVD:
				return "Electro - DVD";
			case ELECTRO_CD:
				return "Electro - CD";
			case ELECTRO_GAMES_PC:
				return "Electro - Games Pc";
			case ELECTRO_GAMES_PS3:
				return "Electro - Games PS3";
			default:
				return "";
		}
	}
	
}
